package com.bort.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bort.system.info.OrderInfo;
import com.bort.system.model.TOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderMapper extends BaseMapper<TOrder> {

    List<OrderInfo> getOrderList(@Param("map") Map<String, Object> map);
    List<OrderInfo> getOrderList(Page<OrderInfo> pager,@Param("map") Map<String, Object> map);

    List<Map<Integer, Object>> businessStatus(@Param("map") Map<String, Object> map);
}
